package com.my.hotel.service.impl;

import com.my.hotel.entity.User;
import com.my.hotel.mapper.KhMapper;
import com.my.hotel.service.KhService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class KhServiceImpl implements KhService {

    @Autowired
    private KhMapper khMapper;
    public List<User> getUserList(String type) {
        return khMapper.getUserList(type);
    }
}
